package com.wangsd.common.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 微信开放平台实体类
 */
@Configuration
@ConfigurationProperties(prefix = "wx.open")
@Data
public class WxOpenProperties {

    /**
     * 设置微信三方平台的appid
     */
    private String componentAppId;

    /**
     * 设置微信三方平台的app secret
     */
    private String componentSecret;

    /**
     * 设置微信三方平台的token
     */
    private String componentToken;

    /**
     * 设置微信三方平台的EncodingAESKey
     */
    private String componentAesKey;


    //微信开放平台网站应用appid
    private String webAppId;
    //微信开放平台网站应用sercret
    private String webSecret;
}